from celery_tasks.sms.yuntongxun.sms import CCP# from meiduo_mall.libs.yuntongxun.sms import CCPfrom celery_tasks.sms import constansfrom celery_tasks.main import celery_app# name: 自定义异步任务名字@celery_app.task(name='send_sms_code')def send_sms_code(mobile, sms_code):    # CCP().send_template_sms(to='接收验证码的手机号', datas=['短信验证码', '提示用户多少分钟过期'], temp_id=1)    CCP().send_template_sms(to=mobile, datas=[sms_code, constans.SMS_CODE_REDIS_EXPIRES // 60], temp_id=1)# python